package com.bazhua.bazo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bazhua.bazo.repository.entity.Area;
import com.bazhua.bazo.repository.model.AreaModel;
import com.bazhua.bazo.repository.model.SearchStreetModel;
import com.bazhua.bazo.repository.model.result.CommonResult;
import com.bazhua.bazo.repository.model.result.PageListResult;

public interface IAreaService extends IService<Area> {

    CommonResult GetArea();

    PageListResult  GetStreetPage(SearchStreetModel model);

    CommonResult GetStreet(Long areaId);

    CommonResult  AddStreet(AreaModel model);

    CommonResult DeleteStreet(Long StreetId);
}
